<!--
  @author heguanghua
  @since 2019/06/12 11:57
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="common/common::jscss"/>
<body>


<div class="layui-fluid">

    <blockquote class="layui-crumb">
        服务合同模式
    </blockquote>

    <div class="layui-card">

        <div class="layui-card-header layui-margin-b"><b>平台服务合同模式</b></div>

        <div class="layui-card-body">
            <form method="POST" action="" class="layui-form" lay-filter="zmn-form">

                <zmn th:each="plat:${plats}">
                    <div class="layui-form-item">
                        <label class="layui-form-label" th:text="${plat.value + '：'}">平台：</label>
                        <div class="layui-input-block">
                            <zmn th:each="item:${contractModelList}">
                                <input type="radio" th:name="${'bizType' + plat.key}" th:value="${item.key}" th:title="${item.value}"
                                       th:checked="${map[plat.key] != null && map[plat.key].contractModel != null && map[plat.key].contractModel == item.key}">
                            </zmn>
                        </div>
                    </div>
                </zmn>


                <div class="layui-form-item submit">
                    <div class="layui-input-block" style="margin-left: 150px">
                        <div class="layui-input-inline" style="width: 60px">
                            <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit">提交</button>
                        </div>

                        <div class="layui-input-inline" style="width:420px;">
                            <label class="layui-form-mid" style="color: #9F9F9F;">仅指：维保订单业务类型，不包括：虚拟增值订单和实物电商订单</label>
                        </div>
                    </div>
                </div>
            </form>

            <div class="layui-card-header layui-margin-b" style="margin-left: -10px"><b>操作记录</b></div>

            <div th:replace="plat/contract/model/_table::table"></div>

        </div>

    </div>

</div>
</body>
</html>

<script type="text/javascript" th:inline="javascript">
    var json = {
        items: [[${items}]]
    };

    layui.config({
        base: "/static/lay/",
        version: 20200904
    }).extend({
        index: "lib/index",
        plat_contract_model_detail: "plat/contract/model/zmn.plat.contract.model.detail",
    }).use(['index', 'plat_contract_model_detail']);

</script>
